feat(otel): Parent Workflow span onto shared execution trace - #647
feat(otel): Parent Workflow span onto shared execution trace#647ayushiahjolia wants to merge 1 commit into
Conversation
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
5c0f1a8 to
95fb7cd
Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
95fb7cd to
d97ef9c
Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
d97ef9c to
6896e3d
Compare
This comment has been minimized.
This comment has been minimized.
d226218 to
c0df70f
Compare
This comment has been minimized.
This comment has been minimized.
c0df70f to
0ff8de7
Compare
This comment has been minimized.
This comment has been minimized.
0ff8de7 to
8a88e75
Compare
Codex AI reviewFound three issues affecting sampling policy, Reviewed commit |
Claude AI reviewReview: feat(otel) — Parent Workflow span onto shared execution trace (#647)Reviewed the full SHA-anchored diff (27 files, +2473/−270) against the base revision, focusing on the trace-topology change, sampling precedence, cross-classloader bridging, checkpoint/replay semantics, and the local test runner. No blocking issues found. The change is coherent and unusually well-tested. Key correctness properties I verified:
Residual risk (not defects): The nullable- Reviewed commit |
8a88e75 to
40ee121
Compare
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
Issue Link, if available
#644
Description
Anchor every durable execution on one trace: the propagated remote server span is the execution ancestor when valid, else a deterministic synthetic root. Workflow and Invocation spans share the trace; sampling follows the header (explicit Sampled preserved, unset deferred to the configured sampler).
Also keep the local test runner's execution ARN stable across reinvocations to match the backend, and pin the OTel conformance workflow to the backend-parented topology assertions.
Demo/Screenshots
N/A
Checklist
Testing
Unit Tests
Have unit tests been written for these changes? Updated.
Integration Tests
Have integration tests been written for these changes? Added/Updated
Examples
Has a new example been added for the change? (if applicable) N/A